#include "entity.h"

void EntityGroup::write(GraphStream * s)
{
	this->accept(s);
	fprintf(s->stream,"\tnode_%d [label=\"(%d,%d)\\nEntity Group\" shape=\"rectangle\"]\n",this->number(),this->line(),this->position());
	this->m_identifier_list->write(s);
	fprintf(s->stream,"\tnode_%d -> node_%d [label=\"variables\"]\n",this->number(),this->m_identifier_list->number());
	this->m_type_name->write(s);
	fprintf(s->stream,"\tnode_%d -> node_%d [label=\"type\"]\n",this->number(),this->m_type_name->number());
}